package com.fido.screen_adapter.constants

/**
 * @author: FiDo
 * @date: 2024/11/11
 * @des:
 */
enum class DimenTypes(swWidthDp: Int) {
    //适配Android 3.2以上   大部分手机的sw值集中在  300-460之间
    DP_sw__300(300),  // values-sw300
    DP_sw__310(310),
    DP_sw__320(320),
    DP_sw__330(330),
    DP_sw__340(340),
    DP_sw__350(350),
    DP_sw__360(360),
    DP_sw__370(370),
    DP_sw__380(380),
    DP_sw__390(390),
    DP_sw__410(410),
    DP_sw__420(420),
    DP_sw__430(430),
    DP_sw__440(440),
    DP_sw__450(450),
    DP_sw__460(460),
    DP_sw__470(470),
    DP_sw__480(480),
    DP_sw__490(490),
    DP_sw__400(400),
    DP_sw__540(540); // 想生成多少自己以此类推


    /**
     * 屏幕最小宽度
     */
    private var swWidthDp: Int


    init {
        this.swWidthDp = swWidthDp
    }

    fun getSwWidthDp(): Int {
        return swWidthDp
    }

    fun setSwWidthDp(swWidthDp: Int) {
        this.swWidthDp = swWidthDp
    }
}